package com.hxy.platform.admin.service;

import com.hxy.platform.admin.pojo.Blog;

import java.util.List;

public interface BlogService {
    List<Blog> getAll();

    Blog getById(Integer id);

    int updateArticle(Blog oldBlog);

    int addArticle(Blog blog);

    void deleteById(Integer id);
}
